package com.imhuis.pay.wxpay;

public interface WxPayConstants {

    /**
     * 微信证书别名
     */
    public static final String KEY_ALIAS = "Tenpay Certificate";
    /**
     * 微信数据解密方式
     */
    public static final String ALGORITHM = "AES";
    /**
     * 微信数据解密方式V2
     */
    public static final String ALGORITHM_MODE_PADDING_V2 = "AES/ECB/PKCS7Padding";
    /**
     * 微信数据解密方式V3
     */
    public static final String ALGORITHM_MODE_PADDING_V3 = "AES/GCM/NoPadding";
    /**
     * APIV3Key长度
     */
    public static final int APIV3_KEY_LENGTH_BYTE = 32;
    /**
     * 身份验证标记长度
     */
    public static final int TAG_LENGTH_BIT = 128;
}
